using System;
using System.Windows.Forms;



namespace Crm2011.Connect
{
  public partial class CrmConnectionStringEditor : Form
  {
    public CrmConnectionStringEditor()
    {
      InitializeComponent();
    }

    public CrmConnectionString GetCrmConnectionString()
    {
        return this.CrmConnectionStringControl1.GetCrmConnectionString();
    }


    /// <summary>
    /// Sets the CRM connection string and populates the controls accordingly
    /// </summary>
    /// <param name="value">The value.</param>
    public void SetCrmConnectionString(CrmConnectionString value)
    {
        this.CrmConnectionStringControl1.SetCrmConnectionString(value);
    }


  }
}